package cn.edu.nju.software.gui;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class ManagerOperation extends JFrame implements ActionListener{
	private String username;//�����ͷ�����ͨ�ŵ�ƾ֤
	private UserInstitute uin;//�ӿͻ����жϵ��û�Ժϵ
	
	
	public String getUsername(){
		return username;
	}
	public void setUsername(String newUserName){
		username = newUserName;
	}
	public ManagerOperation(String userName){
		super();
		this.username = userName;
		JTabbedPane tabbedPane = new JTabbedPane();
		StudentsManage panel_studentsManage = new StudentsManage(this);
		CoursesManage panel_coursesManage = new CoursesManage(this);
        Share panel_share = new Share(this);
	    tabbedPane.add("studentsManage",panel_studentsManage);
	    tabbedPane.add("courseManage",panel_coursesManage);
		tabbedPane.add("courseShare",panel_share);
		add(tabbedPane);
		setSize(800, 600);
	    setTitle("Manager Land");
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		setVisible(true);
		
	}
	
	
	
	
	
	public void actionPerformed(ActionEvent e) {
		// TODO Auto-generated method stub
		
	}
}
